@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Open+Sans:wght@300;400;600&display=swap');

/* Define Color Scheme */
:root {
    --primary-color: #0A3D62; /* Deep Blue */
    --accent-color: #F4C724; /* Golden Yellow */
    --background-color: #F8F9FA; /* Light Gray */
    --text-color: #333333; /* Dark Gray */
    --cta-color: #E74C3C; /* Vibrant Red */
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    background: linear-gradient(to right, #8360c3, #2ebf91);
}

/* Typography */
h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Header Styling */
header {
    background-color: #222;
    color: white;
    padding: 15px 20px;
    z-index: 10; /* Ensure the header is above other elements */
    position: relative;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    white-space: nowrap;
}

p {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    padding: 5px;
}

/* Title on the Far Left */
h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    color: white; /* Set the heading color to white */
    display: flex;
    align-items: center;
    flex: 1;
    padding: 0;
}

h1 .logo {
    height: 60px; /* Increased height (adjust as needed) */
    width: auto;  /* Maintains the aspect ratio of the logo */
    margin-right: 15px; /* Optional: Space between the logo and the text */
}

/* Center Navigation Menu */
.menu {
    flex: 2;
    display: flex;
    justify-content: flex-start; /* Move the menu to the right */
    align-items: center;
    flex: 10;
}

.menu ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    align-items: center;
}

.menu a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    padding: 10px;
    display: flex;
    align-items: center;
    transition: 0.2s;
}

.menu a:hover {
    color: var(--accent-color);
}

/* Menu Button (☰) on the Far Right */
.menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 1;
}

.menu.active {
    display: flex; /* Show the menu */
} 
/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex; /* Show on mobile */
    }

    .menu {
        display: none;/* Hide menu by default on mobile */
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: var(--primary-color);
        text-align: center;
        z-index: 100; /* Ensure the menu is above other elements */
    }

    .menu.active {
        display: flex; /* Show menu when active */
    }

    .menu ul {
        flex-direction: column;
        gap: 10px;
        padding: 10px 0;
    }
}